import os
import config.sys_path as sys_path

import pytest

from util.email_util import send_email

if __name__ == "__main__":
    # 生成测试报告json
    pytest.main([
        f'--alluredir={sys_path.RESULT_DIR}',
        f'--output={sys_path.TRACE_VIEWER_DIR}',
        f'{os.path.join(sys_path.CASES_DIR, "manager", "test_registration_information.py")}'
        # f'{os.path.join(sys_path.CASES_DIR, "buyers", "test_excel_fixture.py")}'
    ])
